#ifndef __FOLDERSTACK_H__
#define __FOLDERSTACK_H__

#include <string.h>
#include <stdlib.h>

typedef struct Node_s
{
    char path[1024]; // 存放路径
    struct Node_s *pNext;
} Node_t;

typedef struct folderStack_s
{
    Node_t *pTop; // 栈顶
    int stackSize;
} folderStack_t;


int folderStackInit(folderStack_t *pStack);

int push(folderStack_t *pStack,char *path);

int pop(folderStack_t *pStack);

int folderStackDestroy(folderStack_t *pStack);

#endif